﻿using PeiYue.IServices.BASE;
using PeiYue.Model.Dto.Purchase;
using PeiYue.Model.ERPModels;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace PeiYue.IServices.Purchase
{
    public interface IPurchaseOrderDetail : IBaseServices<ErpPurchaseOrderDetail>
    {
        Task<List<ErpPurchaseOrderDetail>> GetERPSuppPurchase(Model.Dto.Purchase.SearchERPPurchaseDetailDTO querymodel);
        Task<ERPPurchaseDetailDTO> GetPurchaseDetailByBarCode(string barCode);
        Task<ERPPurchaseDetailDTO> GetPurchaseDetailBySaleId(int saleId);
        /// <summary>
        /// 获取供应商收货单
        /// </summary>
        /// <param name="supplierCode"></param>
        /// <param name="deliveryDate"></param>
        /// <returns></returns>
        Task<ReceivingGoodsDTO> GetReceivingGoodsList(string supplierCode, DateTime deliveryDate);
       
        }
}
